/*
 * Project: push-center-service-impl
 * 
 * File Created at 2014-10-9
 * 
 * Copyright 2012 Greenline.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Greenline Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Greenline.com.
 */
package com.greenline.push.service.core.send.base;

import com.greenline.push.core.enums.Channels;
import com.greenline.push.service.core.item.Packet;
import com.greenline.push.service.core.tmpl.AppTemplateInfo;

/**
 * ISender
 * 
 * @author weirui.shenwr
 * @date 2014-10-9
 * @version V1.0
 */
public interface ISender {
	/**
	 * @desc 最多发送次数
	 * @author zhaoli
	 */
	public static final Integer MAX_SEND_NUM = 5;

	public Channels supportChannel();

	public boolean send(Packet packet, AppTemplateInfo appTempInfo);

}
